/*
 * 作者		www.TheWk.cn.vc
 * 开发环境	Windows7 64位 MyEclipse8.6 JDK1.6.0_37
 * 开发日期	2013-6-7
 */
package common.baiduPush;


/**
 * <hr/>
 * 
 * @author www.TheWk.cn.vc
 * @version 1.0 2013-6-7
 * @class cn.oopsware.baidupush.PushUtils
 */
public final class PushUtils {

	//private final static String	API_KEY		= "RrT4zcgc3UeWZ85LTzrTBGqI";
	//private final static String	SECRIT_KEY	= "529Swe5aQMV3DhE0GVCbLwGDINAvnonm";
	private final static String	API_KEY		= "Hl9BINSiFpxuPwiyhl1lmuxF";
	private final static String SECRIT_KEY = "VcmktbBLQpVIDXEDko5hcG66lbvt47Gd";
	
	private static BaiduPush	baiduPush	= new BaiduPush(BaiduPush.HTTP_METHOD_POST, SECRIT_KEY, API_KEY);

	public static void push(String title,String message, String userid) {
		baiduPush.PushNotify(title, message, userid);
	}

	public static void main(String[] args) {
		push("温馨提示","田雨是个混蛋,王八蛋,九十九斤半", "910963207675435670");
	}
}
